libmyc.so:my_stdio.o my_string.o
	gcc -o $@ $^ -shared 
%.o:%.c
	g++ -fPIC -c $<
.PHONT:output
output:
	mkdir -p lib/include
	mkdir -p lib/mylib
	cp -f *h lib/include
	cp -f *.so lib/mylib
	tar czf lib.tgz lib

.PHONY:clean
clean:
	rm -rf *.o libmyc.so lib lib.tgz
